OpenRoads Designer CONNECT Edition SDK Help

CreateByCubicInterpolationWithCurvature Method

Constructs a BSpline element with the constraints of tangents and curvatures

Definition

Namespace: Bentley.CifNET.LinearGeometry Assembly: Bentley.CifNET.LinearGeometry.4.0 (in Bentley.CifNET.LinearGeometry.4.0.dll) Version: 1.0.0.0 (99.99.99.99)

C#

public static  BSpline CreateByCubicInterpolationWithCurvature( DPoint3d[] points, DVector3d[] tangents,double[] endsRadius,bool closedCurve)

Parameters

SettingDescription
  DPoint3d[] Array of points that make the BSpline
  DVector3d[] The two end tangents constraints
  [] The two radius of curvature at start point and end point (0 for straight line (infinite radius))
   True if the BSpline is closed

Return Value

BSpline

See Also